package com.hxzy.controller.admin.employee.req;

import com.hxzy.controller.admin.employee.resp.EmployeeEditResp;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ApiModel(value = "超级管理员工修改模型")
public class EmployeeSuperManEditReq extends EmployeeEditReq {

    /**
     * 状态（1停用，0正常）
     */
    @NotBlank(message = "状态不能为空")
    @ApiModelProperty(value = "状态（1停用，0正常）",required = true)
    private String status;

    /**
     * 登录密码
     */
    @NotBlank(message = "登录密码不能为空")
    @Length(min=4,max=20,message = "登录密码长度在4~20个字符之间")
    @ApiModelProperty(value = "登录密码",required = true)
    private String loginPwd;

    @NotBlank(message = "确认密码不能为空")
    @ApiModelProperty(value = "确认密码",required = true)
    private String loginPwdConfirm;
}
